@import (css) 	"fonts/font-awesome/font.css";
@import (css)	url(http://fonts.googleapis.com/css?family=Raleway:400,300,500,600,700);
@import (css)	url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900);

@import (less) 	"mixin.less";
@import (css) 	"icheck/minimal.css";
@import (css) 	"base/normalize.css";
@import (less) 	"base/misc.less";
@import (css) 	"mscrollbar/jquery.mCustomScrollbar.css";


/*

DONT EDIT THIS CSS FILE!
PLEASE EDIT THE LESS ONE!!!

*/





/*
    
Summary

	# Variables
	# Standardise
	# Standardise - Form Element
	# Standardise - Wrapper
	# Standardise - Block Element
	# Standardise - MISC
	# Header & Footer
    # Homepage
    # Article
    # Blog
    # Jfamily
    # Login & Register
    # Profile page
    # Custom page

*/






/*
# Standardise 
*/






.desktop-invisible {
    display: none !Important;
}
html, body {
    height: 100%;
}
body {
	font-family: @raleway;
	font-size: 16px;
	line-height: 1.25;
	color: @text;   
    min-width: 1080px;
    overflow: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

    &.cke_show_borders {
        min-width: 0;
    }
}
#page {
}
h1, h2, h3, h4, h5, h6, [class$="-title"] {
	line-height: 1.125;
	
	a {
		color: inherit;
		text-decoration: none;
		
		&:hover {
			text-decoration: underline;
		}
	}
}
h1,
h2,
.page-title,
.page__title {
	font-size: 36px;
	font-weight: 600;
	color: @dark;
    margin: 0 0 0.5em;
}
h3 {
    font-size: 26px;
    color: @dark;
}
h4 {
    font-size: 18px;
    text-transform: none;
}
p, ul {
    margin: 0 0 1em;
    
    a {
        text-decoration: underline;
    }
}
li {
    // margin: 1.5em 0;
}
a {
	color: @pink;
	.transition();
	
	&:hover {
		color: @pink-dk;
	}
    &.no-color {
        color: inherit;
    }
    &[href^="mailto:"] {
        color: inherit;
        text-decoration: none;
        word-break: break-all;
        
        &:hover {
            text-decoration: underline;
        }
    }
}
strong {
}
img {
	max-height: 100%;
	max-width: 100%;
	
	#gmap & {
		max-height: none;
		max-width: none;
	}
}
hr {
}
blockquote {
}
td {
    padding: 10px;
}
.uppercase {
    text-transform: uppercase;
}
.pink {
    color: @pink;
}






/*
# Standardise - Form Element
*/





form {
    .clearfix();
}
fieldset {
    margin: 1em 0;
    padding: 10px 20px;
    border: 1px solid @border;
}
legend {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: @dark;
    float: left;
    font-weight: 600;
    margin: 1em 0 0.25em;
    padding: 0 0.5em;

    & + * {
        clear: left;
    }
    a {
        font-weight: inherit;
        color: inherit;
    }
}
.form-item {
    margin: 0 0 1em;
    position: relative;

    table.field-multiple-table &,
    .container-inline-date &,
    .views-exposed-form &,
    .text-format-wrapper & {
        margin: 0 0 12px;
    }
}
form .field {
    margin: 0;
}
.form-required {
    color: inherit;
}
.input-wrapper {
    position: relative;
    
    .input-icon-prefix,
    .input-icon-suffix {
        position: absolute;
        top: 50%;
        line-height: 1em;
        margin-top: -0.5em;
        pointer-events: none;
    }
    .input-icon-prefix {
        left: 1em;
    }
    .input-icon-suffix {
        right: 0.5em;
    }
}
label,
.field .field-label,
.views-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: @dark;
    margin: 0 0 0.25em;
    padding: 1em 0 0;
    
    &.option {
        display: inline-block;
        vertical-align: middle;
        margin: 0 0.5em;
        text-transform: none;
    }
    .form-field-type-file legend + div > .form-item:first-child & {
        display: none;
    }
    .views-exposed-form & {
        font-weight: 600;
    }
}
.input-box() {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    color: @text;
    display: block;
    width: 100%;
    min-width: 4em;
    margin: 0;
    padding: 1em 0;
    border: 1px solid transparent;
    border-bottom: 1px solid @grey;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-appearance: none;
    -moz-osx-font-smoothing: grayscale;
    .border-box();
    .transition();
    
    &:hover {
        border-bottom-color: @dark;
    }
    &::-webkit-input-placeholder {  
        font-weight: 600;
        text-transform: uppercase;
        color: @dark;
    }
    &:-moz-placeholder {  
        font-weight: 600;
        text-transform: uppercase;
        color: @dark;
    }
    &::-moz-placeholder {  
        font-weight: 600;
        text-transform: uppercase;
        color: @dark;
    }
    &:-ms-input-placeholder {  
        font-weight: 600;
        text-transform: uppercase;
        color: @dark;
    }
}
.form-text,
.form-select,
.form-textarea,
.form-managed-file .form-file {
    .input-box();

    #admin-menu & {
        height: auto;
    }
}
.form-file {
    padding: 0.5em;
    border: 1px solid @border;
}
.form-textarea {
    height: auto;
    min-height: 10em;
}
.form-type-textfield,
.form-type-password {
    width: auto;
    max-width: 420px;
}
.form-type-textarea {
    
    .resizable {
        
        .cke,
        .form-textarea {
//            width: 480px;
        }
    }
}
.form-type-select {

    .input-icon-suffix:after {
        content: "\f0dd";
        font-family: @fonticon;
        color: @dark;
        position: relative;
        top: -3px;
    }
    .form-select {
        padding-right: 2em;
        cursor: pointer;
    }
}
.chosen-container {
    .input-box();
    padding: 0;
    
    table & {
        width: 100% !important;
    }
    &.chosen-with-drop {
        border-color: @border;
        
        .chosen-single,
        .chosen-choices {
            background: white;
            border: none;
        }
    }
    .chosen-single,
    .chosen-choices {
        width: auto;
        height: auto;
        margin: 0;
        padding: 9px 0.5em; 
        border: none;
        background: none;
        box-shadow: none;
            
        option {
            display: none;
        }
        & > span,
        li.search-choice,
        li.search-field input[type="text"] {
            font-family: inherit;
            // font-size: 12px;
            line-height: 18px;
            height: 20px;
            margin: 3px 5px 3px 0;
            padding: 0;
            border: 1px solid transparent;
            .border-box();
        }
        li.search-choice {
            padding: 0 20px 0 5px;
            border-color: @border;
        }
        
    }
    .chosen-search {
        padding: 0 10px;
        border-color: @light;
        display: none;
        
        input[type=text] {
            margin: 0 0 10px;
        }
    }
    .chosen-results {
        // font-size: 12px;
        margin: 0;
        padding: 0;
        
        li {
            padding-left: 10px;
            padding-right: 10px;
            
            &.group-result {
                font-weight: 600;
            }
        }
    }
    .chosen-drop {
        margin-left: -1px;
        border-color: @border;
        .content-box();
    }
    ul {
        line-height: inherit;
    }
    b {
        display: none !important;
    }
}
.form-radios,
.form-checkboxes,
.form-type-radios,
.form-type-checkboxes {
    margin: 0 0 1em;
    text-align: left;
    .clearfix();
    
    .form-radios,
    .form-checkboxes,
    .form-type-radios,
    .form-type-checkboxes {
         margin: 0;   
    }
    .form-type-radio,
    .form-type-checkbox {
        float: left;
        width: auto;
        min-width: 10em;
        margin-right: 2em;
    }
}
.form-type-radio,
.form-type-checkbox {

    & > .iradio,
    & > .icheck,
    & > .input-wrapper {
        float: left;
        
        & + label.option {
            font-size: 15px;
            font-weight: 500;
            line-height: 18px;
            display: block;
            margin: 1px 0 1px 25px;
            padding: 0;
        }
    }
}
.field-widget-date-select,
.field-widget-options-select {
    float: left;

    .form-type-select {
        margin-right: 20px;
    }
    .form-select {
//        width: 210px;

        & + .chosen-container {
//            width: 210px !important;
        }
        &[multiple=multiple],
        &[id*=risk-category] {
//            width: 420px;

            & + .chosen-container {
//                width: 420px !important;
            }
        }
    }
    & + * {
        clear: left;
    }
    & + .field-widget-date-select,
    & + .field-widget-options-select {
        clear: none;
    }
}
.form-field-type-list-boolean {
    float: left;
    margin-right: 40px;

    & + * {
        clear: left;
    }
    & + .form-field-type-list-boolean {
        clear: none;
    }
}
.field-type-datetime,
.form-field-type-datetime {
    margin-right: 20px;

    fieldset {
        margin: 0;
        padding: 0;
        border: none;

        legend {
            margin: 0 0 0.5em;
            padding: 0;
        }
    }
    input + .input-icon-suffix:after {
        content: '\f017';
    }
    .start-date-wrapper,
    .end-date-wrapper {
        float: left;
        clear: none;
        margin: 0 1em 0 0;
    }
    label {
        display: none;
    }
    .form-type-textfield {
        
        input {
            margin: 0;
        }
    }
    input + .input-icon-suffix:after {
        content: "\f073";
        font-family: @fonticon;
        color: @dark;
    }
    .form-item {
        margin: 0 0 1em;
        
        .form-item {
            margin: 0;
        }
    }
    .hasDatepicker {
        padding-right: 2em;
        cursor: pointer;
    }
}
.form-wrapper .date-padding {
    padding: 0;
}
.date-no-float {
    width: auto;
    margin: 0;
}
.button() {
	font-size: 16px;
    font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
    text-decoration: none;
	text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	color: white;
	display: inline-block;
	min-width: 200px;
	margin: 1em 0;
	padding: 0.75em;
	border: none;
	outline: none;
	background-color: @dark;
    position: relative;
    cursor: pointer;
	-webkit-appearance: none;
	-webkit-font-smoothing: antialiased;
	-moz-appearance: none;
	-moz-osx-font-smoothing: grayscale;
	.border-box();
    .transition();
}
.btn-s() {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    min-width: 0;
    padding: 10px 15px;
    display: inline-block;
    vertical-align: middle;
    float: none;
}
.jessica-btn,
.form-submit {
    .button();

    &:hover {
        text-decoration: none;
    }
    &.small {
        .btn-s();
    }
	.views-exposed-form .views-exposed-widget & {
		margin: 0 0 1em;
	}
	& + .jessica-btn,
	& + .form-submit {
		margin-left: 1em;
	}
    &.facebook-login {
        background: #3a5795;
        color: white;
    }
}
.form-actions {
    margin: 20px 0 0;
    .clearfix();

    .form-submit,
    .riskybiz-btn {
        margin: 0 1em 0 0;
    }
}
.grippie,
.tabledrag-toggle-weight {
    display: none !important;
}
.form-disabled {
    
    label,
    .form-required {
        color: @light !important;
    }
    input,
    select,
    textarea {
        color: @light !important;
        border-color: @light !important;
        background-color: @light;
        .placeholder(@light) !important;
    }
    .input-icon-prefix:after,
    .input-icon-suffix:after {
        color: @light;
    }
}
div.vertical-tabs {
    margin-top: 2em;
    margin-bottom: 2em;
    clear: both;

    fieldset.vertical-tabs-pane {
        padding: 1em;
    }
}






/*
# Standardise - Wrapper
*/






.wrapper {
	width: auto;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 10px;
	.clearfix();
	.border-box();
	
	.region-highlighted > &,
	.region-below-content > &,
	.region-bottom > &,
    .block-views > & {
		max-width: none;
		padding: 0;
	}
}
#main {
	position: relative;
	margin: 2em auto;
	padding: 0;
//    overflow: hidden;
	.clearfix();
    
    body.one-sidebar & {
        width: 1080px;
    }
}
.region-content {
    
    .wrapper {
        
        .wrapper {
            padding: 0;
        }
    }
}
.sidebar  {
    width: 320px;
    float: right;
    
    .block .wrapper {
        padding: 0;
    }
    & + .region-content {
        width: 740px;
        float: left;
        
        .breadcrumb {
            margin-top: 0;
        }
    }
}
.region-highlighted {
	
	.block {
        margin: 0;
		
		& > .wrapper {
			padding: 0;
			max-width: none;
		}
	}
    body.front & .block {
        margin: 0 0 2em;
        
        .block {
            margin: 0;
        }
    }
}
.region-below-content {
    clear: both;
}
.region-bottom,
.region-overlay {
    
    .block {
        margin: 0;
		
		& > .wrapper {
			padding: 0;
			max-width: none;
		}
	}
}
.block {
	margin: 0 0 2em;
    
    &.last {
        margin-bottom: 0;
    }
    .block {
        margin: 0;
    }
}
.listing-block {
	
    h2, h3, h4, h5 {
        margin: 0;
    }
    h4 {
        font-size: 20px;
        font-weight: 400;
    }
    .views-field {
        margin: 0 0 0.25em;
    }
    span.views-field {
        font-weight: 500;
        display: inline-block;
        margin: 0 10px 0 0;
    }
    img {
        display: block;
    }
}
.aside-block {
	
	.block-image {
		float: left;
		width: 100px;
        margin: 0;
		.border-box();
		
		& + .content {
			margin-left: 100px;
            padding-left: 1em;
		}
        &.large {
            width: 340px;
            height: 230px;
            
            & + .content {
                height: auto;
                min-height: 230px;
                margin-left: 340px;
                padding-left: 20px;
                padding-bottom: 50px;
                position: relative;
                .border-box();
                
                .jessica-btn {
                    position: absolute;
                    bottom: 0;
                    margin: 0;
                }
            }
        }
	}
	.views-row {
		.clearfix();
	}
}
.views-view-grid {
    width: 100%;
    table-layout: fixed;
    
    td {
        position: relative;
    }
}
.views-table {
    width: 100%;

}
div.wrapper-grid-table {
	margin: 0 -10px;
    
	img {
        width: 100%;
		display: block;
	}
}
.views-row {
	position: relative;
    .border-box();
}
.row-list {
    
    .views-row {
        padding: 20px 0;
        border-top: 1px solid @dark;
        
        .sidebar & {
            margin: 0;
            padding: 10px 0;
            border: none;
        }
    }
    .views-row-first {
        padding-top: 0;
        border: none;
    }
    &.quote-of-the-day {
        
        h3 {
            margin: 1em 0;
        }
        .views-row {
            margin: 1.5em 0;
            margin-left: 2em;
            padding: 0 0 1em;
            border: none;
            border-bottom: 1px solid @border;

            &:before {
                content: "";
                display: block;
                width: 1em;
                height: 100%;
                position: absolute;
                left: -2em;
                top: 0;
                bottom: 0;
                background: @pink;
            }
        }
    }
}
.grid-list {

}
.article-list {
    
    .views-row {
        margin: 0 0 40px;
    }
    h2.views-field:first-child  {
        margin: 0 0 0.5em;
    }
    .submitted {
        color: @dark;
    }
    .content {
        line-height: 1.5;
    }
}
.swiper-container {
	overflow: hidden;
}	
.swiper-wrapper {
	padding: 0;
	margin: 0;
	list-style: none;
}
.swiper-slide {
	float: left;
	
	img {
		display: block;
	}
}
.slide-button {
	cursor: pointer;
	.transition();
}
.swiper-pagination {
    text-align: center;
    margin: 2em 0;
    
    .swiper-pagination-switch {
        display: inline-block;
        font-size: 12px;
        width: 1em;
        height: 1em;
        margin: 0.5em;
        background: @border;
        overflow: hidden;
        cursor: pointer;
        .border-radius(50%);
        .transition();
        
        &.swiper-active-switch {
            background: @dark;
        }
        &[hidden] {
            display: none;
        }
    }
}





/*
# Standardise - Block Element
*/





.block-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 0 0.5em;
    border-bottom: 1px solid @border;
}
.search-title {
    margin: 0 0 40px;
    
    h2 {
        font-size: 32px;
        font-weight: 400;
        margin: 0 0 10px;
        padding: 0 0 20px;
        border-bottom: 1px solid @border;
    }
    h4 {
        font-size: 18px;
    }
}
.swiper.field-type-image {
    position: relative;
    
    .slide-button {
        font-size: 2em;
        line-height: 1;
        color: white;
        position: absolute;
        top: 50%;
        margin-top: -0.5em;
        padding: 5px;
        .bg-color(@pink,0.6);
        .border-radius(50%);

        &:hover {
            .bg-color(@pink,0.9);
        }
        &:before {
            font-family: @fonticon;
            color: inherit;
            margin: 0 10px;
        }
        &.next {
            right: 0.5em;

            &:before {
                content: "\f105";
            }
        }
        &.prev {
            left: 0.5em;

            &:before {
                content: "\f104";
            }
        }
    }
}
.fluid-image {
    height: 0;
    padding-bottom: 75%;
    background-size: cover;
}
.submitted {
    font-size: 18px;
    margin: 1em 0;
}
.user-image {
    text-align: center;
    
    img {
        overflow: hidden;
        display: inline-block;
        .border-radius(50%);
    }
}
.block-image {
	
	&.listings {
		height: 150px;
		padding: 1px;
		border: 1px solid @border;
		overflow: hidden;
	}
    a,
    .field-content {
        display: block;
        overflow: hidden;
    }
	img {
		display: block;
        .transition();
        
        body.front &:hover {
            .scale(1.2);
        }
	}
}
a.full-size {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}
.valign {
    .valign();
}





/*
# Standardise - MISC
*/






html body.admin-menu {
//	margin-top: 0 !important;
}
.item-list {
    
    ul.pager {
        margin: 32px 0;
    }
    li {
        // font-size: 12px;
        font-weight: 600;
        line-height: 24px;
        text-align: center;
        width: 24px;
        height: 24px;
        margin: 0 1em;
        padding: 0;
        display: inline-block;
        .border-radius(50%);
        .transition();
        
        &:hover {
            background: @light;
        }
    }
    .pager-item {
        font-size: 13px;
        margin: 0;
    }
    .pager-current {
        color: white;
        background: @blue;
        margin: 0;
    }
    a {
        color: inherit;
        text-decoration: none;
        white-space: nowrap;
    }
    ul.pager-load-more {
        
        li {
            width: auto;
            height: auto;
            margin: 0;
            padding: 0;
            display: block;
            .border-radius(0);
        }
        a {
            .button();
            font-weight: 700;
            display: block;
            
            &:hover,
            &:active {
                color: @pink;
            }
        }
    }
}
ul.menu {
	margin: 0;
	padding: 0;
	.clearfix();
	
	li {
		float: left;
		list-style: none;
        padding: 0;
        margin: 0;
	}
    a {
        text-decoration: none;
    }
}
.breadcrumb {
    color: @grey;
    white-space: nowrap;
    margin: 1.5em auto;
	
    body.no-breadcrumb & {
        display: none !important;
    }
	ul, ol {
        font-size: inherit;
        line-height: inherit;
//        width: 1080px;
        padding: 0;
		.clearfix();
		.border-box();
	}
	li {
		display: block;
		float: left;
        margin: 0;
        
        & + li {
            
            &:before {
                content: "／";
                margin: 0 1em;
            }
        }
	}
    .delimiter {
        margin: 0 1em;
    }
	a,
    span {
        color: inherit;
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
	}
    .last {
        color: @dark;
    }
}
.cke.cke_chrome {
    border: 1px solid @border;
    box-shadow: none;
    -webkit-box-shadow: none;
    .border-radius(2px);
    
    .cke_top {
        margin: 8px;
        padding: 0;
        background: none;
        border: none;
        filter: none;
        box-shadow: none;
        -webkit-box-shadow: none;
    }
    .cke_toolgroup {
        background: none;
        border: none;
        margin: 0;
        filter: none;
        box-shadow: none;
        -webkit-box-shadow: none;
    }
    .cke_button {
        border-bottom: 2px solid transparent;
        background: none;
        filter: none;
        box-shadow: none;
        -webkit-box-shadow: none;
        cursor: pointer;
        
        &.cke_button_on {
            border-color: @dark;
        }
        a {
            background: transparent;
        }
    }
    .cke_wrapper {
        background: none;
    }
    .cke_contents {
        margin: 8px;
        border: none;
    }
    .cke_bottom {
        padding: 0;
        overflow: visible;
        border: none;
        box-shadow: none;
        
        * {
            display: none;
        }
        .cke_resizer {
            display: block;
            position: absolute;
            bottom: 3px;
            right: 3px;
            margin: 0;
        }
    }
}
.counter,
.description {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    margin: 6px 0;
    
    .form-item & { 
        font-size: 12px;
    }
    strong {
        color: darken(@text,25%);
    }
    .form-type-textarea + fieldset + & {
        margin-top: -6px;
    }
}
.messages {
    height: auto;
    max-height: 640px;
    overflow: auto;
    
    .krumo-root  {
        height: auto;
        max-height: 30em;
        overflow: auto;
    }
}
.node-unpublished {
    overflow: hidden;
}
#skip-link {
	margin: 0;
}
#main-content {
    display: inline;
}
#autocomplete {
//    font-size: 13px;
    padding: 0 1em;
    background: white;
}
.clearfix:after {
    content: "";
    display: table;
}
.ajax-progress,
ul.action-links,
.field-collection-view-links {
	display: none;
}
.term-listing-heading + p,
.page-taxonomy-term .region-content > div > .item-list {
    display: none;
}
.popup-btn#masquerade {
    display: none;
    
    body.admin-menu & {
        display: block;
    }
}





/*
# Header & Footer
*/




#header {
    width: auto;
    min-width: 1080px;
    padding-top: 24px;
    
    & > .wrapper {
        position: relative;
        
        .wrapper {
            padding: 0;
        }
    }
    .block {
        margin: 0;
        position: static;
    }
    .menu,
    .nice-menu {
        font-size: 15px;
        line-height: 1em;
        float: right;
        position: relative;
        .clearfix();
        
        & > .menu__item {
            margin-top: -1px;
        }
        ul {
            position: absolute;
            top: 100%;
            left: 0;
            border: none;
            padding: 10px 0;
            background: @pink;

            .menu__link {
                color: white;
                padding: 10px 20px;

                &:hover {
//                    color: lighten(@pink,10%);
                }
            }
        }
    }
    .menu__item {
        float: left;
        width: auto;
        border: none;
        background: none;
        position: relative;
    }
    .menu__link {
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        display: inline-block;
        padding: 20px;
        color: @grey;
        cursor: pointer;
        
        &.highlighted {
            font-weight: 600;
            color: @pink;
        }
        &:hover {
            color: @pink;
        }
    }
    .nice-menu-menu-main-menu---mini {
        display: none;
        float: left;
        margin: 0 10px;
        
        ul {
            width: 100%;
        }
        .nolink {
            font-size: 18px;
            text-transform: none;
            color: @grey;
            margin: -2px 0 0;
            .transition();

            &:after {
                content: "\f107";
                font-family: @fonticon;
                font-size: 24px;
                line-height: 1px;
                margin: 0 0 0 0.5em;
            }
        }
        .menu__item {
            float: none;
            
            &:after {
                display: none;
            }
            &:hover .menu__link {
                background: @pink;
                color: white;
                display: block;
            }
        }
    }
    .login-button {
        display: block;
        float: none;
        text-align: right;
        
        & > .menu__link {
            font-size: 15px;
            text-align: center;
            color: white;
            display: inline-block;
            width: 200px;
            margin: 0 0 5px;
            padding: 15px 2em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            background-color: #FE555A;
            .border-box();
            
            &:hover {
                background: @dark;
                color: @pink;
            }
            body.not-logged-in & {
                background: center center no-repeat url(../images/pages/btn-login.png) @pink;
                overflow: hidden;
                text-indent: -9999px;
            }
        }
        body.logged-in & {
            display: none;
            
            & + .login-button {
                display: block;
            }
        }
        & + .login-button {
            display: none;
        }
    }
    #logo {
        position: absolute;
        top: 0;
        left: 0;
        margin: 10px;
        height: 140px;
        z-index: 1;
        .transition(0s);
        
        img {
            display: block;
            max-height: none;
        }
    }
    .header-latest-release {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0 10px;
        width: 150px;
        
        img {
            display: block;
            margin: 0 auto;
        }
    }
    .block-menu[id*="menu-header-navigation"] {
        padding-top: 40px;
    }
    .region-header {
        height: 150px;
        padding-right: 150px;
//        background: right bottom no-repeat url(../images/pages/frontpage/thumbnail-magazine.png);
        .clearfix();
        
        ul.menu {
            margin: 0 20px;
        }
        .last .menu__link {
            padding-right: 0;
        }
        .menu__item {
            
            &:after {
                content: "|";
                color: @grey;
                vertical-align: middle;
                position: relative;
                top: -2px;
            }
            &.login-button:after,
            &.last:after {
                display: none;
            }
        }
        .logout {
            position: absolute;
            bottom: 100%;
            right: 0;

            &:before {
                content: "( ";
                color: @grey;
                vertical-align: middle;
            }
            &:after {
                content: " )";
                color: @grey;
                vertical-align: middle;
            }
            .menu__link {
                font-size: 13px;
                padding: 1em 0;
            }
        }
        .block-nice-menus {

            & > .wrapper:before,
            & > .wrapper:after {
                display: none;
            }
        }
    }
    .region-navigation {

        ul.nice-menu-main-menu  {
            border-top: 1px dotted @pink;
        
            & > .menu__item {
            
                &.first {
                    margin-left: -20px;
                }
                &.last {

                    & > ul {
                        left: initial;
                        right: 0;
                    }
                }
                &:hover .menu__link {
                    background: @pink;
                    color: white;
                }
            }
        }
    }
    form.search-block {
        position: absolute;
        bottom: 0;
//        left: 0;
        right: 0;
        width: 100%;
        min-width: 20em;
        margin: 0 0 10px;
        display: none;
//        .transition();
        
        &.toggled {
            left: 0;
        }
        .views-exposed-widgets {
            margin: 0;
        }
        .views-exposed-widget {
            float: none;
            padding: 0;
        }
        .form-item {
            margin: 0;
        }
        .form-type-textfield {
            max-width: none;
        }
        .form-text {
            line-height: 40px;
            width: 100%;
            height: 40px;
            padding: 0 10px;
            border-color: @border;
            background: right 0.5em center no-repeat url(../images/ui/search.png) white;
        }
        .form-submit {
            position: absolute;
            top: 0;
            right: 0;
            width: 40px;
            height: 40px;
            min-width: 0;
            margin: 0;
            background: none;
            text-indent: -9999px;
            overflow: hidden;
        }
    }
    &.minimized {
        position: fixed;
//        top: 0;
        left: 0;
        right: 0; 
        z-index: 999;
        padding: 1em 0;
        border-bottom: 4px solid @border;
        background-color: white;
        
//        body.admin-menu & {
//            top: 29px;
//        }
        #block-nice-menus-1,
        .header-latest-release,
        .block-scmedia-recommended-articles {
            display: none;
        }
        .nice-menu-menu-main-menu---mini {
            display: block;
        }
        #logo {
            position: static;
            width: 140px;
            height: 50px;
            margin: 0 0 -5px;
            background: center center no-repeat url(../logo-s.png);
            display: block;
            float: left;
            
            img {
                display: none;
            }
        }
        .block-menu[id*="menu-header-navigation"] {
            padding-top: 0;
            float: right;
        }
        .region-header {
            height: auto;
            padding: 0;
            background: none;
            
            .menu__link {
                padding: 15px 20px;
            }
            .logout {
                position: static;
                float: right;

                &:before {
                    content: "|";
                }
                &:after {
                    content: "";
                }
                .menu__link {
                    font-size: inherit;
                }
            }
        }
        .login-button {
            float: right;
            
            .menu__link {
                width: auto;
                width: 180px;
                margin: 0;
            }
        }
        .search-block {
            top: 0;
            right: 200px;
            margin: 0;
            
            .form-text,
            .form-submit {
                height: 45px;
            }
        }
    }
}
#footer {
    padding: 3em 0;
    background: #1a1a1a;
    color: @border;
    
    & > .wrapper {
        padding: 0;
    }
    .block-title {
        font-size: 22px;
        text-transform: none;
        color: white;
        margin: 0;
        padding: 0;
        border: none;
        
        &:after {
            content: "";
            display: block;
            width: 65px;
            height: 1px;
            margin: 32px 0;
            background: white;
        }
    }
    .block {
        float: left;
        width: 200px;
        
        &.first {
            width: 360px;
            padding-right: 40px;
            color: white;

            p {
                font-weight: 600;
                line-height: 1.5;
                margin-right: 80px;
            }
        }
        &[id*="footer-other-menu"] {
            width: 280px;
        }
        &.last {
            font-size: 18px;
            float: none;
            clear: both;
            width: auto;
            padding: 1em 0 0;
            
            a {
                color: white;
            }
        }
    }
    .menu__item,
    .views-row {
        float: none;
        margin: 0 0 1em;
        
        a {
            display: block;
            color: inherit;
            text-decoration: none;
            
            &:hover {
                color: white;
            }
        }
    }
    .icon a {
        text-indent: -9999px;
        overflow: hidden;
        width: 50px;
        height: 50px;
        margin-right: 10px;
        float: left;
        background: center center no-repeat;
    }
    .facebook a {
        background-image: url(../images/icons/footer-facebook.png)
    }
    .weibo a {
        background-image: url(../images/icons/footer-weibo.png)
    }
    .instagram a {
        background-image: url(../images/icons/footer-instagram.png)
    }
    .youtube a {
        background-image: url(../images/icons/footer-youtube.png)
    }
}





/*
# Global pages
*/




.swiper.jfamily-magazine {
    font-size: 18px;
    text-align: center;
    color: white;
    overflow: hidden;
    background: center 2px no-repeat url(../images/pages/logo-footer.png) @text;
    
    .view-header {
        font-size: 36px;
        font-weight: 300;
        text-transform: uppercase;
        margin: 1em 0;
    }
    img {
        display: block;
        margin: 0 auto;
        height: 235px;
    }
    .swiper-control {
        width: 1060px;
        margin: 0 auto;
        position: relative;
    }
    .slide-button {
        position: absolute;
        bottom: 120px;
        font-size: 30px;
        font-weight: 900;
        line-height: 1;
        padding: 0 1em;
        margin-bottom: -0.5em;
        
        &.next {
            left: 100%;
            
            &:before {
                content: ">";
            }
        }
        &.prev {
            right: 100%;
            
            &:before {
                content: "<";
            }
        }
        &:hover {
            color: @pink;
        }
    }
    .views-field-title {
        display: table;
        padding: 0;
        width: 100%;
        height: 3em;
        
        .field-content {
            display: table-cell;
            vertical-align: middle;
            white-space: nowrap;
        }
    }
}
.buy-magazine-now {
    font-weight: 300;
    text-align: center;
    
    h2, h4 {
        font-weight: inherit;
        margin: 8px 0;
    }
    .btn {
        font-size: 20px;
        line-height: 1;
        text-decoration: none;
        color: @dark;
        display: block;
        margin: 1em 0;
        padding: 15px;
        border: 1px solid @border;
        
        &:hover {
            background: @dark;
            color: white;
        }
    }
}
.homepage-slide-articles {
    .clearfix();

    .view-header {
        
        body.front & {
            display: none;
        }
    }
    .views_slideshow_main {
        width: 700px;
        height: auto;
        min-height: 560px;
        padding: 10px 0;
        float: left;

        .block-image {
            margin: 0 0 1em;
        }
        .quote {
            height: 4em;
        }
        img {
            width: 700px;
        }
    }
    .views-slideshow-controls-bottom {
        margin-left: 720px;
    }
    .views_slideshow_pager_field_item {
        height: auto;
        min-height: 100px;
        padding: 10px;
        padding-left: 120px;
        border-top: 1px solid @border;
        position: relative;
        .transition();

        &:first-child {
            border: none;
        }
        &:hover {
            background: @pink;
            color: white !important;

            a {
                color: white;
            }
        }
        .views-field-title {
            margin: 0 0 0.25em;
        }
        .field-name-field-category, 
        .field-name-field-entity-main-category {
            color: inherit;
        }
    }
    .views-content-picture,
    .views-field-field-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
        margin: 10px;
    }
    .views-field-title {
        font-size: 18px;
    }
}
.region-overlay {
    
    .block-scmedia-social-share-buttons {
        position: fixed;
        top: 50%;
        left: 0;
        margin: 10px;
        margin-top: -100px;
        z-index: 1;
        display: none;
        
        .social-buttons input {
            margin: 10px;
            display: block;
            .transition();
            
            &:hover {
                margin-left: 20px;
            }
        }
    }
}
.fb_iframe_widget {
    display: block !important;
    width: 100% !important;
    margin: 2em 0;
    
    span,
    iframe {
        width: 100% !important;
    }
}
.adblock {
    margin: 20px 0;
    
    body.front & {
        margin: 40px 0;
    }
    &.full {
        
        & > .wrapper {
            max-width: none;
            padding: 0;
        }
        img {
            width: 100%;
        }
    }
    img {
        display: block;
        margin: 0 auto;
    }
}
.bg-light {
    background: @light;
    padding: 1.5em 0;
}
.bg-dark {
    background: @dark;
}

// Fields

.field-name-field-category,
.field-name-field-entity-main-category,
.field-name-field-blog-category-reference {
    font-weight: 300;
    text-transform: uppercase;
    color: @pink;
    
    .field-item {
        display: inline-block;
        
        & + .field-item:before {
            content: ", ";
        }
    }
    a {
        text-decoration: none;
        color: inherit;
    }
}
.field-name-field-tags {
    width: 480px;
    margin: 1em auto;
    text-align: center;

    .field-item {
        display: inline-block;
    }
    .field-item a {
        font-size: 16px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;
        color: @dark;
        display: block;
        margin: 0.5em;
        padding: 0.5em 1em;
        border: 2px solid @dark;
        
        &:hover {
            border-color: @pink;
            color: @pink;
        }
    }
}
.field-collection-view,
.field-collection-container {
    margin: 0;
    padding: 0;
    border: none;
}
.quote {
    font-size: 17px;
    line-height: 28px;
    margin: 20px 0;
    padding-left: 80px;
    background: left 10px top no-repeat url(../images/icons/quote.png);
}





// Styled table 






/*
# Homepage
*/




body.front {
    
    #main {
        margin: 0;
    }
    .region-content {
        display: none;
    }
    .recommended-articles {

        h4 {
            font-size: 18px;
            margin: 5px;
        }
        p {
            font-size: 20px;
        }
        td {
            padding: 0;
        }
        .wrapper-grid-table {
            margin: 0;
        }
    }
    .swiper.featured-slides {
        position: relative;

        .swiper-slide {
            width: 100%;
        }
        .field-name-field-slideshow-images {
            height: 600px;
            background: center center no-repeat;
            background-size: cover;
        }
        .views-field-body {
            font-size: 46px;
            color: white;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            .bg-color(black,0.2);

            .field-content * {
                .opacity(0);
            }
            .wrapper {
                position: relative;
            }
            p {
                margin: 0;
                padding: 0.75em 0;
            }
        }
        .mobile {
            display: none;
        }
        .swiper-pagination {
            margin: 0;
        }
        .slide-button {
            font-size: 64px;
            line-height: 1;
            color: @pink;
            position: absolute;
            top: 50%;
            margin-top: -0.5em;

            &:hover {
                color: @pink-dk;
            }
            &:before {
                font-family: @fonticon;
                color: inherit;
                margin: 0 10px;
            }
            &.next {
                right: 1.5em;

                &:before {
                    content: "\f105";
                }
            }
            &.prev {
                left: 1.5em;

                &:before {
                    content: "\f104";
                }
            }
        }
        .views-field-body .slide-button {
            
            &.next {
                right: 0;
                margin-right: -1.5em;
            }
            &.prev {
                left: 0;
                margin-left: -1.5em;
            }
        }
        .swiper-slide-visible {

            .field-content * {
                .opacity(1);
            }
        }
    }
    .feature-article {

        .views-row {
            margin: 0;
            .valign();
        }
        .block-image, 
        .content {
            width: 49%;
            padding: 10px;
            text-align: left;
            .border-box();
        }
        h2 {
            font-size: 50px;
            margin: 0.25em 0;
        }
        p {
            font-size: 22px;
            line-height: 1.5;
            margin: 1em 0;
        }
    }
    .great-picks {
        margin: 2em 0;

        td {
            padding: 0;
            position: relative;

            &:hover {

                a.full-size {
                    .opacity(1);
                }
            }
        }
        .view-header {
            font-size: 30px;
            font-weight: 700;
            line-height: 1;
            letter-spacing: 3px;
            text-align: center;
            color: white;
            padding: 20px;
            background: @pink;
        }
        .views-field {
            margin: 0;
        }
        h4 {
            font-weight: 400;
            margin: 0;
            color: white;
        }
        a.full-size {
            .bg-color(black,0.6);
            .opacity(0);
        }
        .wrapper-grid-table {
            margin: 0;
        }
    }
    .newest-articles {
        margin: 0;
    }
    .customer-comment {
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        margin: 20px 0;
        
        h4 {
            font-weight: 400;
            margin: 40px 0;
        }
        p {
            font-size: 24px;
        }
        .client-name {
            color: @pink;
        }
    }
}
.col-2-fullwidth {
    text-align: center;
    color: white;

    .wrapper-grid-table {
        margin: 0;
    }
    .views-view-grid td {
        position: relative;
    }
    .views-field-view-node a {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        .valign();
    }
    td {
        padding: 0;
    }
    h2 {
        font-size: 36px;
        color: white;
        text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.75);
    }
    .btn {
        font-size: 20px;
        line-height: 1;
        color: @dark;
        margin: 3em 0 0;
        padding: 1em 2em;
        display: inline-block;
        background: white;
    }
    .video-thumbnail:after {
        position: static;
    }
}
.popup.quote-of-the-day {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    width: 415px;
    height: 226px;
    margin: 40px;
    padding: 0 60px;
    background: center center no-repeat url(../images/pages/quote-of-the-day.png);
    position: fixed;
    bottom: 0;
    right: 0;
    .border-box();
    .transition();
    
    &:hover {
        background-image: url(../images/pages/quote-of-the-day-r.png);
    }
    .view-header {
        font-size: 24px;
        color: @pink;
        margin: 30px 0;
        
        &:after {
            content: "";
            display: block;
            width: 36px;
            height: 4px;
            background: @pink;
            margin: 20px auto;
        }
    }
    .close {
        width: 18px;
        height: 18px;
        display: block;
        position: absolute;
        top: 0;
        right: 50px;
        margin: 10px;
        background: center center no-repeat url(../images/ui/close-quote.png);
        cursor: pointer;
    }
}




/*
# Article
*/




.category-head-article {
    
    .views-row {
        display: table;
        width: 100%;
        
        &:before,
        &:after {
            display: none;
        }
    }
    .block-image {
        width: 600px;
        display: table-cell;
        float: none;
        
        & + .content {
            margin: 0;
            padding: 30px 35px;
            display: table-cell;
            vertical-align: top;
            background: @light;
        }
    }
}
.view.category-list {
    
    .category-wrapper {
        margin: 80px 0;
    }
    .category-row {
        margin: 0 -10px;
        .clearfix();
    }
    .row {
        width: 340px;
        margin: 10px;
        float: left;
    }
    .see-more-button {
        width: 100%;
    }
    h4 {
        font-size: 22px;
        font-weight: 400;
    }
}
article.node {
    margin: 2em 0;
    
    .social-buttons {
        text-align: center;
        
        input {
            width: 50px;
            height: 50px;
            display: inline-block;
            margin: 0 0.5em;
        }
    }
    .field-name-field-category {
        display: none;
    }
    p, ul {
        font-size: 20px;
        line-height: 1.5;
        margin: 1em 0;
    }
    .node-title {
        text-align: center;
    }
    .field-type-image {
        
        img {
            display: block;
            margin: 1em auto;
        }
    }
    .embedded-video {
        
        iframe {
            display: block;
            margin: 0 auto;
        }
    }
}





// Popup

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    .bg-color(black,0.5);

    h2.block-title {
        font-size: 20px;
        margin: 0 0 1em;

        &:after {
            margin-left: auto;
            margin-right: auto;
        }
    }
    .popup-wrapper {
        height: 100%;
        .valign();
    }
    .popup {
        width: auto;
        min-width: 240px;
        padding: 20px;
        background: white;
        box-shadow: 0 0 2em rgba(0,0,0,0.5);
        overflow: hidden;
        .border-radius(4px);
    }
    form {

        .form-submit {
            width: 100%;
            margin: 1em 0 0;
            float: none;
        }
    }
}




/*
# Blog
*/




body.mainpage {
    
    .region-content {

        .block-title {
            font-size: 30px;
            line-height: 1;
            text-align: center;
            margin: 0.5em 0;
            padding: 0;
            border: none;

            &:before {
                content: "";
                display: block;
                height: 1px;
                margin-bottom: -15px;
                border-bottom: 1px solid @border;
            }
            span {
                display: inline-block;
                padding: 0 0.5em;
                background: white;
            }
            div {
                font-size: 16px;
                font-weight: 400;
                margin: 1em 0;
            }
        }
        .block.first .block-title {
            font-size: 50px;
            
            &:before {
                height: 8px;
                margin-bottom: -30px;
                border-top: 1px solid @border;
            }
        }
    }
}
.blogger-block {
    
    &.aside-block {
        
        h4 {
            font-size: 24px;
        }
    }
    &.box {
        
        .views-row {
            padding: 2em 20px;
        }
        h4 {
            text-align: center;
            margin: 24px 0;
            padding: 0;
        }
        .views-field-field-text {
            color: @grey2;
        }
    }
    &.swiper {
        
        .view-content {
            margin: 0 -10px;
        }
        .views-row {
            width: 250px !important;
            margin: 0 10px;
        }
    }
    h4 {
        font-size: 21px;
        font-weight: 600;
        color: @dark;
        margin: 0;
        padding: 0.5em 0;
    }
    p {
        font-size: 18px;
    }
    .views-row {
        padding: 20px 24px;
        background: @light;
    }
    .wrapper-grid-table {
        margin: 0 -20px;
    }
    .views-view-grid {
        table-layout: auto;
        border-spacing: 20px;
        border-collapse: separate;
        
        td {
            width: 250px;
            padding: 20px 24px;
            background: @light;
            .border-box();
        }
    }
    .views-exposed-form {
        text-align: center;
        
        .views-exposed-widget {
            float: none;
            padding: 0;
        }
        .form-type-bef-link {
            display: inline-block;
            
            a {
                font-size: 18px;
                font-weight: 500;
                text-decoration: none;
                color: @dark;
                display: block;
                width: auto;
                min-width: 2em;
                padding: 0.5em 1em;
                
                &:hover {
                    background: darken(@light,5%);
                }
                &.active {
                    color: white;
                    background: @pink;
                }
            }
        }
        .input-icon-suffix,
        .chosen-container {
            display: none;
        }
    }
}
.other-bloggers {
    
    h4 {
        font-size: 20px;
        font-weight: 600;
        color: @dark;
        margin: 0;
        padding: 0.5em 0 0;
    }
}
.sidebar {
    
    .view-blogger-info-block {
        margin-top: 44px;
    }
}
.view-archive {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    color: @grey;
    
    .item-list {
        
        ul {
            list-style: none;
            .clearfix();
        }
        li {
            float: left;
            width: 50%;
            margin: 10px 0;
            background: none;
        }
    }
    a {
        color: inherit;
        text-decoration: none;
        
        &:hover {
            color: @pink;
        }
    }
}




/*
Jfamily
*/




body.node-type-jfamily {
    
    .breadcrumb {
        display: none;
    }
    .field-name-body {
        
        img {
            display: block;
        }
    }
}




/*
# Login & Register
*/



body.page-user-password,
body.login-n-register {
    
    #main {
        margin: 0;
        padding: 100px 0;
        background: center center no-repeat url(../images/pages/user/bg-login.png);
        background-size: cover;
    }
    .region-content {
        text-align: center;
        color: white;
        
        .form-text {
            background: none;
            border: none;
            border-bottom: 1px solid white;
            color: white;
            .placeholder(white);
        }
        .form-submit {
            font-size: 18px;
            display: block;
            width: 100%;
            margin: 0 0 1em;
        }
        .title {
            margin: 0 0 2em;
        }
        h2 {
            font-size: 40px;
            line-height: 1.125;
            margin: 10px 0;
            color: inherit;
        }
        .sub-heading {
            font-size: 14px;
            font-weight: 500;
            text-transform: uppercase;
        }
    }
    form,
    .register-type {
        color: white;
        width: 300px;
        display: inline-block;
        vertical-align: middle;
        
        label {
            display: none;
        }
        .description {
            text-align: left;
        }
    }
    .register-type {
        vertical-align: top;
    }
    .circle {
        font-weight: 700;
        line-height: 4;
        text-align: center;
        text-transform: uppercase;
        color: @dark;
        display: inline-block;
        width: 4em;
        height: 4em;
        margin: 0 4em;
        background: white;
        .border-radius(50%);
        .border-box();
    }
    .button-set {
        margin: 2em 0;
    }
    .btn {
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 0.5px;
        color: @dark;
        display: block;
        margin: 1em 0;
        padding: 1.5em;
        border: 2px solid white;
        
        &:hover {
            background: white;
            color: @purple;
        }
    }
    .forgot-pass {
        font-size: 18px;
        font-weight: 700;
        text-align: left;
        color: white;
        margin: 1em 0;
        
        a {
            color: inherit;
            text-decoration: none;
            
            &:after {
                content: "?";
            }
        }
    }
}
body.page-register {
    
    #main {
        margin: 0;
        background: center center no-repeat url(../images/pages/user/bg-jessica.png);
        background-size: cover;
    }
    .region-content {
        .clearfix();
    }
    .breadcrumb {
        display: none;
    }
    .register-title {
        font-size: 21px;
        font-weight: 700;
        margin: 0.25em 0;
    }
    .register-logo {
        height: 80px;
        background: center center no-repeat url(../images/pages/logo-jessica.png);
    }
    .register-title,
    .register-logo,
    .register-text {
        text-align: center;
    }
    .fb-or-text {
        margin: 1em 0;
        font-weight: 600;
        text-align: center;
        display: none;
    }
    .field-group-div {
        
        & > h3 {
            display: none;
        }
    }
    form[id*=user-register-form] {
        width: 400px;
        padding: 56px;
        float: right;
        .bg-color(white, 0.9);
        .border-box();
        
        legend,
        .description,
        .form-type-textfield label,
        .form-type-password label {
            text-align: left;
            display: none;
            
            &.option {
                display: inline-block;
            }
        }
        fieldset {
            margin: 0;
            padding: 0;
            border: none;
    
            &.field-group-fieldset {
                margin: 1em 0;
            }
        }
        .field-widget-date-select, .field-widget-options-select {
            width: 100%;
            float: none;
            margin: 0;
        }
        .field-widget-date-select .form-type-select, .field-widget-options-select .form-type-select {
            margin-right: 0;
        }
        .form-type-checkbox {
            min-width: 8em;
            margin-right: 1em;
        }
        .form-submit {
            display: block;
            float: none;
            width: 100%;
        }
        .field-name-field-date-of-birth {
            margin: 0;

            legend {
                display: block;
                
                .fieldset-legend {
                    padding: 0;
                    background: none;
                }
            }
            .form-item {
                float: left;
            }
            .date-padding {
                margin-right: -10px;
            }
            .form-type-select {
                width: 90px;
                float: left;
                margin-left: 9px;

                &:first-child {
                    margin: 0;
                }
            }
            .form-select,
            .chosen-container {
                min-width: 0;
            }
            .chosen-search {
                display: none;
            }
        }
        .form-item-legal-accept {
            text-align: left;
            margin: 0;
            white-space: nowrap;
        }
        .field-name-field-boolean-user {
            
            .description {
                display: block;
            }
            .input-wrapper {
                float: left;
                
                & + label {
                    margin-left: 24px;
                    display: block;
                }
            }
        }
        .privacy_statement_wrapper {
            margin: 0 0 0.5em;
        }
        .captcha {
            
            img {
                display: block;
            }
        }
    }
}
body.page-register-dream-wedding {
    
    #main {
        background-image: url(../images/pages/user/bg-wedding.png);
    }
    .register-logo {
        background-image: url(../images/pages/logo-wedding.png);
    }
}
body.page-register-jessica-baby {
    
    #main {
        background-image: url(../images/pages/user/bg-baby.png);
    }
    .register-logo {
        background-image: url(../images/pages/logo-baby.png);
    }
}




/*
# Profile page
*/




body.page-user-edit {
    
    form {
        
        input {
            .placeholder(@border);
        }
        .member-account-text {
            color: @dark;
            margin: 1.5em 0;
        }
        .password-strength {
            position: absolute;
            bottom: 100%;
            right: 0;
            margin: 10px 0;
        }
        .password-strength-text,
        .password-strength-title {
            display: none;
        }
        input.password-confirm, input.password-field {
            width: 100%;
        }
        .field-widget-date-select, 
        .field-widget-options-select {
            float: none;
            
            .form-type-select {
                margin-right: 0;
            }
        }
        fieldset[id^=edit-picture] {
            padding: 0;
            border: none;
            border-bottom: 1px solid @border;
            
            legend {
                display: none;
            }
            .user-picture {
                width: 100px;
                display: block;
                position: absolute;
                
                & + .form-item {
                    height: auto;
                    min-height: 100px;
                    margin-left: 120px;
                }
            }
        }
        .field-name-field-address {
            
            fieldset {
                padding: 0;
                border: none;
            }
            label {
                display: none;
            }
            legend {
                padding: 0;
            }
            .fieldset-legend {
                padding: 0;
                background: none;
            }
        }
        .field-name-field-boolean-user {
            
            .form-radios {
                margin: 1em 0;
            }
            .form-type-radio {
                float: none;
            }
        }
    }
}
.block-jessica-member {
    margin: 0;
    border: 3px solid @pink;
    
    .block-title {
        display: none;
    }
    .member-info-row {
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        color: @dark;
        display: table;
        width: 900px;
        margin: 2em auto;

        & > * {
            display: table-cell;
            vertical-align: middle;
        }
        .member-section {
            width: 50%;
        }
        .user-picture {
            display: inline-block;
            vertical-align: middle;
            width: 130px;
            height: 130px;
        }
        .user-info {
            display: inline-block;
            vertical-align: middle;
            width: 230px;
            margin-left: 40px;
            border-right: 1px solid @border;
        }
        .logout-section {
            width: 140px;

            & > a {
                .button();
                min-width: 0;
                display: block;
                padding: 18px 0;
                background: @pink;

                &:hover {
                    background: @dark;
                }
            }
        }
        h3 {
            font-size: 24px;
            line-height: inherit;
            margin: 0 0 10px;
        }
        p {
            margin: 0 0 10px;
        }
    }
    .member-tabs-row {
        width: 900px;
        margin: 0 auto;
    }
    & + .block-menu {
        margin-top: -5px;
        border: 3px solid @pink;
        border-top-color: transparent;
        background: white;
        
        .menu {
            width: 900px;
            margin: 0 auto -3px;
            display: table;
            table-layout: fixed;
            
            &:before,
            &:after {
                display: none;
            }
        }
        .menu__item {
            display: table-cell;
            float: none;
        }
        .menu__link {
            .button();
            font-size: 17px;
            font-weight: 700;
            display: block;
            margin: 0;
            padding: 1.25em 0;
            background: #b3b3b3;
            
            &.active,
            &:hover {
                background: @pink;
            }
        }
    }
}




/*
# Custom page
*/




body.node-type-html-page {
    
    #main {
        margin: 0 auto;
    }
    .region-content > .wrapper {
        max-width: none;
        padding: 0;
    }
    .breadcrumb {
        width: 1080px;
        padding: 0 10px;
        .border-box();
    }
    .page-title {
        font-size: 48px;
        font-weight: 700;
    }
    .node {
        font-size: 18px;
        line-height: 1.5;
        margin: 0;
    }
    #about-us {
        background: center center no-repeat url(/sites/all/themes/xenyo/images/pages/bg-type-1.png);
        background-size: cover;
    }
    .content {
        
        &.right {
            width: 320px;
            height: auto;
            min-height: 700px;
            float: right;
            padding: 40px;
            .bg-color(white,0.9);
        }
    }
    #terms {
        table-layout: fixed;
        width: 100%;
    }
    #contact-us {
        background: center center no-repeat url(/sites/all/themes/xenyo/images/pages/bg-type-2.png); 
        background-size: cover;
        
        p span {
            color: #D0BBDA;
        }
    }
    #thankyou-page {
        background: center center no-repeat url(/sites/all/themes/xenyo/images/pages/user/bg-jessica.png); 
        background-size: cover;
        
        .content {
            text-align: center;
            min-height: 0;   
            padding: 4em 40px;
        }
        .jessica-btn {
            display: block;
            width: 100%;
            margin: 1.5em 0;
            padding: 1.5em;
        }
        .register-title {
            font-size: 21px;
            font-weight: 700;
            margin: 0.25em 0;
        }
        p {
            font-size: inherit;
            
            strong {
                font-size: 20px;
            }
        }
        .register-logo {
            height: 80px;
            background: center center no-repeat url(../images/pages/logo-jessica.png);
        }
        .register-title,
        .register-logo,
        .register-text {
            text-align: center;
        }
        &.baby {
            background-image: url(../images/pages/user/bg-baby.png);
            
            .register-logo {
                background-image: url(../images/pages/logo-baby.png);
            }
        }
        &.wedding {
            background-image: url(../images/pages/user/bg-wedding.png);
            
            .register-logo {
                background-image: url(../images/pages/logo-wedding.png);
            }
        }
    }

}








/*
# Responsive
*/




@media 
only screen and (max-width: 480px) and (orientation: portrait), 
only screen and (max-width: 640px) and (orientation: landscape) {

	
}

@media 
only screen and (max-width: 1280px) {

}

@media 
only screen and (min-width: 1280px) {
	
    .region-overlay {

        .block-scmedia-social-share-buttons {
            display: block;
        }
    }
}